import http from '@/utils/http.js'

export default {

    getWxInfo(params) {
        return http({
            method: 'get',
            url: `/user/user/app/wxInfo`,
            params
        })
    },
    //用户问卷页面
    getSurveys(params) {
        return http({
            method: 'GET',
            url: `/survey/web/survey/questionNaire`,
            params
        })
    },

    //提交问卷信息
    SubmitSurveys(params) {
        return http({
            method: 'POST',
            url: `/survey/web/survey/questionNaire/resultAdd`,
            params
        })
    },

    //抖音 获取财乎学堂报名验证码
    getdycheckCode(params) {
        return http({
            method: 'GET',
            url: `/survey/get/checkCode`,
            params
        })
    },
    //抖音 财乎学堂报名
    Submitsignup(params) {
        return http({
            method: 'POST',
            url: `/survey/user/sign/up`,
            params
        })
    },
    //落地页购买下单
    surveyOrderAdd(data) {
        return http({
            method: 'POST',
            url: `/survey/web/order/add`,
            data
        })
    },
    //落地页查询订单状态
    queryOrderStatus(params) {
        return http({
            method: 'GET',
            url: `/survey/web/order/queryOrder`,
            params
        })
    },

}